package com.cskaoyan._04oop1._01demo;

/**
 * @author Macro_Ray
 * @since 2024/3/6 20:26
 */
public class _03GirlFriendTest {
    public static void main(String[] args) {
        // 创建女友1的对象
        _03GirlFriend gf1 = new _03GirlFriend();
        /*gf1.sname = "cyy";
        gf1.age = 18;
        gf1.gender = "可爱的";*/

        gf1.setName("cyy");
        gf1.setAge(18);
        gf1.setGender("可爱捏");


        System.out.println(gf1.getName());
        System.out.println(gf1.getAge());
        System.out.println(gf1.getGender());

        System.out.println("================");

        // 创建女友2的对象
        _03GirlFriend gf2 = new _03GirlFriend();
        gf2.setName("CYY");
        gf2.setAge(19);
        gf2.setGender("漂亮捏");

        System.out.println(gf2.getName());
        System.out.println(gf2.getAge());
        System.out.println(gf2.getGender());


    }
}
